package com.eshop.eshop2021_v1.mapper.before;

import com.eshop.eshop2021_v1.pojo.Focus;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author: 若若叶
 * @date: 2021/10/11 20:05 FileName: FocusMapper Description:
 */
@Mapper
public interface FocusMapper {
  // 判断用户是否已经收藏此商品
  Focus findFocusInfoByGoodId(Integer goodId);
  // 加入收藏
  int addFocus(Focus focus);
}
